@section('title', '用户中心')
<section class="sidebar">
    <!-- Sidebar user panel -->

    <!-- /.search form -->
    <!-- sidebar menu: : style can be found in sidebar.less -->
    <ul class="sidebar-menu">
        <li class="treeview {!! $menu == 'file' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-users"></i> <span>我的资料</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/file.html"> 个人资料</a></li>
            </ul>
        </li>
        <li class="treeview {!! $menu == 'program' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-flag-o"></i> <span>房源管理</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/program.html"> 项目房源</a></li>
            </ul>
        </li>
        <li class="treeview {!! $menu == 'contract' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-university"></i> <span>合同管理</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/contract.html"> 合同列表</a></li>
            </ul>
        </li>
        <li class="treeview {!! $menu == 'rent' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-bank"></i> <span>租金管理</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/rent.html"> 租金列表</a></li>
            </ul>
        </li>
        <li class="treeview {!! $menu == 'fee' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-flash"></i> <span>水电气管理</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'water' ? 'class="active"' : '' !!}><a href="/teacher/fee/water.html"> 水费列表</a></li>
                <li {!! $sub == 'electric' ? 'class="active"' : '' !!}><a href="/teacher/fee/electric.html"> 电费列表</a></li>
                <li {!! $sub == 'gas' ? 'class="active"' : '' !!}><a href="/teacher/fee/gas.html"> 燃气费列表</a></li>
            </ul>
        </li>
        <li class="treeview {!! $menu == 'repair' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-wrench"></i> <span>报修管理</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/repair.html"> 报修列表</a></li>
            </ul>
        </li>
        <li class="treeview {!! $menu == 'notice' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-volume-up"></i> <span>通知公告</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/notice.html"> 通知列表</a></li>
            </ul>
        </li>

        <li class="treeview {!! $menu == 'retire' ? 'active' : '' !!}">
            <a href="#">
                <i class="fa fa-rocket"></i> <span> 退房管理</span> <i class="fa fa-angle-left pull-right"></i>
            </a>
            <ul class="treeview-menu">
                <li {!! $sub == 'index' ? 'class="active"' : '' !!}><a href="/teacher/retire.html"> 退房列表</a></li>
            </ul>
        </li>
    </ul>
</section>